package com.iscc.maoke.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Type implements Serializable {

    private int tno;
    private String tname;
    private String createTime;
    private int tnoParent;
    private int tlevel;

    public Type(String tname) {
        this.tname = tname;
    }

    public Type(int tno, String tname) {
        this.tno = tno;
        this.tname = tname;
    }
}
